const {EventAggregator} = require('./EventAggregator');
const TcpServer = require('./Server')
const process = require('process')

process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0'

const eventAggregator = new EventAggregator() //同一服务器的各个设备共享一个事件管理
let server1 = new TcpServer({
        ip:'127.0.0.1'
});




